package com.longer.demo.biz.service.model;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @program: mybatis
 * @description:
 * @author: SunBiaoLong
 * @create: 2019-01-14 20:10
 **/
@Data
public class OrderModel {
	//订单号
	private String id;
	//用户id
	private Integer userId;
	//商品id
	private Integer itemId;
	//购买商品时的价格--商品购买之后,价格发生变动,对于此价格无影响
	private BigDecimal itemPrice;
	//购买数量
	private Integer account;
	//购买金额
	private BigDecimal orderPrice;

}
